export default {
  path: "/system",
  meta: {
    title: "系统管理",
    icon: "ep:tools"
  },
  children: [
    {
      path: "/system/user",
      name: "user",
      component: () => import("@/views/system/user/index.vue"),
      meta: {
        title: "用户管理",
        roles: ["admin"]
      }
    },
    {
      path: "/system/role",
      name: "role",
      component: () => import("@/views/system/role/index.vue"),
      meta: {
        title: "角色管理",
        roles: ["admin"]
      }
    },
    {
      path: "/system/baaner",
      name: "baaner",
      component: () => import("@/views/system/baaner/index.vue"),
      meta: {
        title: "轮播图管理",
        roles: ["admin"]
      }
    }
  ]
} as RouteConfigsTable;
